package com.shanshi.activity.request;

import java.util.List;

/**
 * Created by cz on 2017/3/20.
 */

public class EssayInfo {
    /**
     * message : null
     * data : {"introduction":"你抬头就看见，你抬头就看见","title":"心碎了，飘荡在海边1","imgUrl":"http://183.222.214.218:44441/manageImg/articleCover/1487026769355.jpg","replyCount":44,"integral":null,"commentArray":[{"id":29,"content":"KKK咯弄","reply":[],"commentTime":"8天前","realName":"张三we","praiseCount":1,"praiseState":true,"userId":4},{"id":30,"content":"哦里咯啦咯啦咯楼啦咯啦咯","reply":[],"commentTime":"8天前","realName":"张三we","praiseCount":1,"praiseState":true,"userId":4},{"id":31,"content":"头目","reply":[],"commentTime":"8天前","realName":"张三we","praiseCount":1,"praiseState":true,"userId":4}],"contentArray":[{"name":null,"id":198,"type":1,"content":"一定要幸福","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":199,"type":1,"content":"青春很容易满足","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":200,"type":2,"content":"/img/ssImgs/articleDetail/30/article1.png","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":201,"type":1,"content":"小高是笨蛋","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":202,"type":1,"content":"小高是笨蛋成都市基础上","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":203,"type":2,"content":"/img/ssImgs/articleDetail/30/article2.png","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":204,"type":1,"content":"酷爱《三生三世》","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":205,"type":3,"content":"<iframe frameborder=\"0\" width=\"640\" height=\"498\" src=\"https://v.qq.com/iframe/player.html?vid=h00220ueui9&tiny=0&auto=0\" allowfullscreen><\/iframe>","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":206,"type":4,"content":"你喜欢什么形状的饼干？","userAnswerState":true,"userAnswerId":0,"userSubmitAnswer":{"describe":null,"imgs":["/img/ssImgs/answerQuestion/206/3/14898203052800oz.jpg"]},"imgUrl":null,"answer":[{"id":1,"content":"圆形","imgs":[]},{"id":2,"content":"方形","imgs":[]},{"id":3,"content":"三角形","imgs":[]},{"id":4,"content":"正方形","imgs":[]}],"price":0},{"name":null,"id":207,"type":1,"content":"回答有奖！！！","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0}],"articlePraiseUser":[{"name":"徐粤","id":3},{"name":"张三we","id":4}],"praiseCount":2,"praiseState":true}
     * code : 10001
     */

    private Object message;

    @Override
    public String toString() {
        return "EssayInfo{" +
                "message=" + message +
                ", data=" + data +
                ", code=" + code +
                '}';
    }

    /**
     * introduction : 你抬头就看见，你抬头就看见
     * title : 心碎了，飘荡在海边1
     * imgUrl : http://183.222.214.218:44441/manageImg/articleCover/1487026769355.jpg
     * replyCount : 44
     * integral : null
     * commentArray : [{"id":29,"content":"KKK咯弄","reply":[],"commentTime":"8天前","realName":"张三we","praiseCount":1,"praiseState":true,"userId":4},{"id":30,"content":"哦里咯啦咯啦咯楼啦咯啦咯","reply":[],"commentTime":"8天前","realName":"张三we","praiseCount":1,"praiseState":true,"userId":4},{"id":31,"content":"头目","reply":[],"commentTime":"8天前","realName":"张三we","praiseCount":1,"praiseState":true,"userId":4}]
     * contentArray : [{"name":null,"id":198,"type":1,"content":"一定要幸福","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":199,"type":1,"content":"青春很容易满足","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":200,"type":2,"content":"/img/ssImgs/articleDetail/30/article1.png","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":201,"type":1,"content":"小高是笨蛋","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":202,"type":1,"content":"小高是笨蛋成都市基础上","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":203,"type":2,"content":"/img/ssImgs/articleDetail/30/article2.png","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":204,"type":1,"content":"酷爱《三生三世》","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":205,"type":3,"content":"<iframe frameborder=\"0\" width=\"640\" height=\"498\" src=\"https://v.qq.com/iframe/player.html?vid=h00220ueui9&tiny=0&auto=0\" allowfullscreen><\/iframe>","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0},{"name":null,"id":206,"type":4,"content":"你喜欢什么形状的饼干？","userAnswerState":true,"userAnswerId":0,"userSubmitAnswer":{"describe":null,"imgs":["/img/ssImgs/answerQuestion/206/3/14898203052800oz.jpg"]},"imgUrl":null,"answer":[{"id":1,"content":"圆形","imgs":[]},{"id":2,"content":"方形","imgs":[]},{"id":3,"content":"三角形","imgs":[]},{"id":4,"content":"正方形","imgs":[]}],"price":0},{"name":null,"id":207,"type":1,"content":"回答有奖！！！","userAnswerState":null,"userAnswerId":null,"userSubmitAnswer":null,"imgUrl":null,"answer":null,"price":0}]
     * articlePraiseUser : [{"name":"徐粤","id":3},{"name":"张三we","id":4}]
     * praiseCount : 2
     * praiseState : true
     */

    private DataBean data;
    private int code;

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DataBean {
        private String introduction;
        private String title;
        private String imgUrl;
        private int replyCount;
        private Object integral;
        private int praiseCount;
        private boolean praiseState;
        /**
         * id : 29
         * content : KKK咯弄
         * reply : []
         * commentTime : 8天前
         * realName : 张三we
         * praiseCount : 1
         * praiseState : true
         * userId : 4
         */

        private List<CommentArrayBean> commentArray;
        /**
         * name : null
         * id : 198
         * type : 1
         * content : 一定要幸福
         * userAnswerState : null
         * userAnswerId : null
         * userSubmitAnswer : null
         * imgUrl : null
         * answer : null
         * price : 0.0
         */

        private List<ContentArrayBean> contentArray;
        /**
         * name : 徐粤
         * id : 3
         */

        private List<ArticlePraiseUserBean> articlePraiseUser;

        public String getIntroduction() {
            return introduction;
        }

        public void setIntroduction(String introduction) {
            this.introduction = introduction;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public int getReplyCount() {
            return replyCount;
        }

        public void setReplyCount(int replyCount) {
            this.replyCount = replyCount;
        }

        public Object getIntegral() {
            return integral;
        }

        public void setIntegral(Object integral) {
            this.integral = integral;
        }

        public int getPraiseCount() {
            return praiseCount;
        }

        public void setPraiseCount(int praiseCount) {
            this.praiseCount = praiseCount;
        }

        public boolean isPraiseState() {
            return praiseState;
        }

        public void setPraiseState(boolean praiseState) {
            this.praiseState = praiseState;
        }

        public List<CommentArrayBean> getCommentArray() {
            return commentArray;
        }

        public void setCommentArray(List<CommentArrayBean> commentArray) {
            this.commentArray = commentArray;
        }

        public List<ContentArrayBean> getContentArray() {
            return contentArray;
        }

        public void setContentArray(List<ContentArrayBean> contentArray) {
            this.contentArray = contentArray;
        }

        public List<ArticlePraiseUserBean> getArticlePraiseUser() {
            return articlePraiseUser;
        }

        public void setArticlePraiseUser(List<ArticlePraiseUserBean> articlePraiseUser) {
            this.articlePraiseUser = articlePraiseUser;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "introduction='" + introduction + '\'' +
                    ", title='" + title + '\'' +
                    ", imgUrl='" + imgUrl + '\'' +
                    ", replyCount=" + replyCount +
                    ", integral=" + integral +
                    ", praiseCount=" + praiseCount +
                    ", praiseState=" + praiseState +
                    ", commentArray=" + commentArray +
                    ", contentArray=" + contentArray +
                    ", articlePraiseUser=" + articlePraiseUser +
                    '}';
        }

        public static class CommentArrayBean {
            private int id;
            private String content;
            private String commentTime;
            private String realName;
            private int praiseCount;
            private boolean praiseState;
            private int userId;
            private List<Reply> reply;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCommentTime() {
                return commentTime;
            }

            public void setCommentTime(String commentTime) {
                this.commentTime = commentTime;
            }

            public String getRealName() {
                return realName;
            }

            public void setRealName(String realName) {
                this.realName = realName;
            }

            public int getPraiseCount() {
                return praiseCount;
            }

            public void setPraiseCount(int praiseCount) {
                this.praiseCount = praiseCount;
            }

            public boolean isPraiseState() {
                return praiseState;
            }

            public void setPraiseState(boolean praiseState) {
                this.praiseState = praiseState;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public List<Reply> getReply() {
                return reply;
            }

            public void setReply(List<Reply> reply) {
                this.reply = reply;
            }

            @Override
            public String toString() {
                return "CommentArrayBean{" +
                        "id=" + id +
                        ", content='" + content + '\'' +
                        ", commentTime='" + commentTime + '\'' +
                        ", realName='" + realName + '\'' +
                        ", praiseCount=" + praiseCount +
                        ", praiseState=" + praiseState +
                        ", userId=" + userId +
                        ", reply=" + reply +
                        '}';
            }

            public static class Reply{
                private int id;
                private int user1Id;
                private int user2Id;
                private int praiseCount;
                private String name1;
                private String name2;
                private String content;
                private String replyTime;
                private boolean praiseState;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getUser1Id() {
                    return user1Id;
                }

                public void setUser1Id(int user1Id) {
                    this.user1Id = user1Id;
                }

                public int getUser2Id() {
                    return user2Id;
                }

                public void setUser2Id(int user2Id) {
                    this.user2Id = user2Id;
                }

                public int getPraiseCount() {
                    return praiseCount;
                }

                public void setPraiseCount(int praiseCount) {
                    this.praiseCount = praiseCount;
                }

                public String getName1() {
                    return name1;
                }

                public void setName1(String name1) {
                    this.name1 = name1;
                }

                public String getName2() {
                    return name2;
                }

                public void setName2(String name2) {
                    this.name2 = name2;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getReplyTime() {
                    return replyTime;
                }

                public void setReplyTime(String replyTime) {
                    this.replyTime = replyTime;
                }

                public boolean isPraiseState() {
                    return praiseState;
                }

                public void setPraiseState(boolean praiseState) {
                    this.praiseState = praiseState;
                }
            }
        }

        public static class ContentArrayBean {
            private Object name;
            private int id;
            private int type;
            private String content;
            private Object userAnswerState;
            private Object userAnswerId;
            private Object userSubmitAnswer;
            private Object imgUrl;
            private List<Answer> answer;
            private double price;

            public Object getName() {
                return name;
            }

            public void setName(Object name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public Object getUserAnswerState() {
                return userAnswerState;
            }

            public void setUserAnswerState(Object userAnswerState) {
                this.userAnswerState = userAnswerState;
            }

            public Object getUserAnswerId() {
                return userAnswerId;
            }

            public void setUserAnswerId(Object userAnswerId) {
                this.userAnswerId = userAnswerId;
            }

            public Object getUserSubmitAnswer() {
                return userSubmitAnswer;
            }

            public void setUserSubmitAnswer(Object userSubmitAnswer) {
                this.userSubmitAnswer = userSubmitAnswer;
            }

            public Object getImgUrl() {
                return imgUrl;
            }

            public void setImgUrl(Object imgUrl) {
                this.imgUrl = imgUrl;
            }

            public List<Answer> getAnswer() {
                return answer;
            }

            public void setAnswer(List<Answer> answer) {
                this.answer = answer;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }


            public static class Answer{
                private String id;
                private String content;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                @Override
                public String toString() {
                    return "Answer{" +
                            "id='" + id + '\'' +
                            ", content='" + content + '\'' +
                            '}';
                }
            }
        }

        public static class ArticlePraiseUserBean {
            private String name;
            private int id;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
